<div class="layui-form-item">
    <label class="layui-form-label">规格模板</label>
    <div class="layui-input-inline">
        <select lay-filter="spec_temp" lay-search="" name="{$name}[spec_temp]">
            <option value="">全部模板</option>
            <volist id="vo" name="spec_list">
                <option value="{$vo.spec_id}" <?php if($vo['spec_id'] == $spec_id) {echo 'selected';} ?>>{$vo.module_name}</option>
            </volist>
        </select>
    </div>
</div>


<div id="specs">
    <input name="name" type="hidden" value="{$name}"/>
    <div class="layui-form-item">
        {$attr_html}
    </div> 
</div>

<script>var url_set = '{:cmf_get_root()}';</script>
<div style="display:none;" class="__is_autoload_js_file__">/plugins/goods/view/goods_spec/publics.js</div>




